/**
 * Created by chesw on 2017/5/3.
 */
(function () {
    new Vue({
        el: '#homepage',
        data: {
            showMid: true
        },
        mounted: function () {
            showHtml();
            var swiper = new Swiper('.swiper-container', {
                pagination: '.swiper-pagination',
                paginationClickable: true,
                autoplay: 5000,
                loop: true,
                autoplayDisableOnInteraction : false
            });
        },
        components: {
            'clinic-head': clinicHead,
            'clinic-right': clinicRight,
            'clinic-foot': clinicFoot,
            'clinic-process': clinicProcess
        }
    })
})()